package me.yuxiaoyao.jpa.nativesql;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import javax.persistence.EntityManager;

/**
 * @author kerryzhang on 2020/12/16
 */


@Configuration
public class NativeSqlConfiguration {

    @Configuration
    @ConditionalOnClass(EntityManager.class)
    @Import(NativeSqlMapperRegistrar.class)
    public static class EnableRegistrar {

    }

}
